Test Driving Reusable Components

نویسنده

  • Stuart Marshall
چکیده

Developers need to evaluate reusable components before they decide to adopt them. When a developer evaluates a component they need to understand how that component can be used, and the behaviour that the component will exhibit. Existing evaluation techniques use formal analysis, sophisticated classification/search functionality, or rely on the presence of extensive component documentation or evaluation component versions. We first present a model for describing how developers gain first hand experience of a component’s runtime behaviour by ‘test driving’, that is by directly invoking and monitoring that behaviour. We then analyse the issues that the model raises. We then propose that test driving should not be done at the developer’s end — as it is currently — but rather that test driving should be done at the marketplace where the component was initially found. We then analyse the issues that are raised by shifting test driving to the marketplace. We then propose an architecture and data formats to support marketplace test driving. Finally, we present Spider: a proof-of-concept prototype for marketplace test driving. Developers can use Spider to test drive reusable components through a standard web browser, storing information extracted from the server-side runtime environment that can later be presented back to the developer as software visualisations. We argue that this approach will provide developers with a new way of evaluating reusable components, and in turn will support their efforts in making the correct reuse decision.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Keyword Driven Framework for Testing

The goal of this paper is to explore the use of Keyword driven testing for automated testing of web application. In Keyword driven testing, the functionality of the system-undertest is documented in a table as well as in step bystep instructions for each test. It involves the creation of modular, reusable test components. These components are then assembled into test scripts. These components c...

متن کامل

Real-Time Multi-Body Vehicle Dynamics Using A Modular Modeling Methodology

Simulations of ground vehicles are extensively used by military and commercial vehicle developers to aid in the design process. In the past, ground vehicle simulations have focused on non-real-time models. However with the advancement of computers and modeling methodologies, real-time multi-body models have become one of the standard tools used by vehicle developers. Multi-body models are compo...

متن کامل

Program Trace Formats for Software Visualisation

Developers must understand a software component or piece of code before they can reuse it. Software visualisation has the potential to assist this understanding by visualising the internal structure and behaviour of components. However it is difficult to create visualisations. We create visualisations by test driving reusable components, and store the output in a formal, transportable, and filt...

متن کامل

Self Classifying Reusable Components Generating Decision Trees from Test Cases

The paper presents an approach to describe the semantics of reusable software components by specifiably chosen input-output tuples. The initial data basis for such tuples are test cases. We discuss, how test cases can serve as descriptors for software components. Further, it is shown how an optimal search structure can be obtained from such tuples by means of supervised learning.

متن کامل

An environment for specif icat ion reuse

Reuse in the early development phases of an application can reduce the effort of producing specifications and improve their quality. The paper presents the requirement specification phase for object-oriented applications under a reuse approach. Object-oriented specifications are reused by accessing a repository of reusable components and by adapting them to the application requirements. A model...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005